package com.qtummatrix.entity;

/**
 * create by Gongshiyong  2019-12-07 11:09
 */

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * 合同实体
 */
public class ContractEntity {
    private int id;
    private String contractno;
    private int loanproductid;
    private int loanbankid;
    private String receiveaccount;
    private String openbankid;
    private BigDecimal loanAmount;
    private Timestamp loanStartTime;
    private Timestamp loanEndTime;
    private BigDecimal interestRate;
    private int repaymentNum;
    private Timestamp fristreturnDate;
    private int interestTypeId;
    private BigDecimal proportionTotal;
    private BigDecimal arrearAmount;
    private boolean sign;
    private int pledgeid;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getContractno() {
        return contractno;
    }

    public void setContractno(String contractno) {
        this.contractno = contractno;
    }

    public int getLoanproductid() {
        return loanproductid;
    }

    public void setLoanproductid(int loanproductid) {
        this.loanproductid = loanproductid;
    }

    public int getLoanbankid() {
        return loanbankid;
    }

    public void setLoanbankid(int loanbankid) {
        this.loanbankid = loanbankid;
    }

    public String getReceiveaccount() {
        return receiveaccount;
    }

    public void setReceiveaccount(String receiveaccount) {
        this.receiveaccount = receiveaccount;
    }

    public String getOpenbankid() {
        return openbankid;
    }

    public void setOpenbankid(String openbankid) {
        this.openbankid = openbankid;
    }

    public BigDecimal getLoanAmount() {
        return loanAmount;
    }

    public void setLoanAmount(BigDecimal loanAmount) {
        this.loanAmount = loanAmount;
    }

    public Timestamp getLoanStartTime() {
        return loanStartTime;
    }

    public void setLoanStartTime(Timestamp loanStartTime) {
        this.loanStartTime = loanStartTime;
    }

    public Timestamp getLoanEndTime() {
        return loanEndTime;
    }

    public void setLoanEndTime(Timestamp loanEndTime) {
        this.loanEndTime = loanEndTime;
    }

    public BigDecimal getInterestRate() {
        return interestRate;
    }

    public void setInterestRate(BigDecimal interestRate) {
        this.interestRate = interestRate;
    }

    public int getRepaymentNum() {
        return repaymentNum;
    }

    public void setRepaymentNum(int repaymentNum) {
        this.repaymentNum = repaymentNum;
    }

    public Timestamp getFristreturnDate() {
        return fristreturnDate;
    }

    public void setFristreturnDate(Timestamp fristreturnDate) {
        this.fristreturnDate = fristreturnDate;
    }

    public int getInterestTypeId() {
        return interestTypeId;
    }

    public void setInterestTypeId(int interestTypeId) {
        this.interestTypeId = interestTypeId;
    }

    public BigDecimal getProportionTotal() {
        return proportionTotal;
    }

    public void setProportionTotal(BigDecimal proportionTotal) {
        this.proportionTotal = proportionTotal;
    }

    public BigDecimal getArrearAmount() {
        return arrearAmount;
    }

    public void setArrearAmount(BigDecimal arrearAmount) {
        this.arrearAmount = arrearAmount;
    }

    public boolean isSign() {
        return sign;
    }

    public void setSign(boolean sign) {
        this.sign = sign;
    }

    public int getPledgeid() {
        return pledgeid;
    }

    public void setPledgeid(int pledgeid) {
        this.pledgeid = pledgeid;
    }

    @Override
    public String toString() {
        return "ContractEntity{" +
                "id=" + id +
                ", contractno='" + contractno + '\'' +
                ", loanproductid=" + loanproductid +
                ", loanbankid=" + loanbankid +
                ", receiveaccount='" + receiveaccount + '\'' +
                ", openbankid='" + openbankid + '\'' +
                ", loanAmount=" + loanAmount +
                ", loanStartTime=" + loanStartTime +
                ", loanEndTime=" + loanEndTime +
                ", interestRate=" + interestRate +
                ", repaymentNum=" + repaymentNum +
                ", fristreturnDate=" + fristreturnDate +
                ", interestTypeId=" + interestTypeId +
                ", proportionTotal=" + proportionTotal +
                ", arrearAmount=" + arrearAmount +
                ", sign=" + sign +
                ", pledgeid=" + pledgeid +
                '}';
    }
}
